home *** CD-ROM | disk | FTP | other *** search
- cb0 <- ClipBoard new: 0
-
- cb0 postAsciiStringToClip: 'This is a test string!'
-
- cb0 writeFTXTClipToASCIIFile: 'RAM:CheckCB0ascii'
-
- cb0 postAsciiFileToClip: 'Amigatalk:TestFiles/TestClipBoard'
-
- ctype <- (cb0 clipTypeIs)
-
- (ctype asString), ' cb0 should be #FTXT' print
-
- cb0 writeFTXTClipToFTXTFile: 'RAM:CheckCB0FTXT'
-
- cb1 <- ClipBoard new: 1
-
- cb1 postILBMFileToClip: 'AmigaTalk:C/AmigaTalk.iff'
-
- ctype <- (cb1 clipTypeIs)
-
- (ctype asString), ' cb1 should be #ILBM' print
-
- cb1 writeILBMClipToFile: 'RAM:CheckCB1ILBM'
-
- 'Done testing ClipBoard methods, now for IFFClipBoard...' print
-
- tfile <- File new
-
- tfile open: 'RAM:CheckCB0FTXT'
-
- ftxt <- String new: (tfile size)
-
- iffcb3 <- IFFClipBoard new
-
- iffcb3 writeFTXTClip: 0 toFTXTString: ftxt size: (tfile size)
-
- iffcb3 postToClipUnit: 9 fromFTXTString: ftxt
-
- cb9 <- ClipBoard new: 9
-
- cb9 writeFTXTClipToASCIIFile: 'RAM:CheckCB9ascii'
-
- 'Done testing IFFClipBoard methods!' print
-
-